<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<link href="/static/css/pagination.css" rel="stylesheet"/>
<input type="hidden" value="${response.query.pageNum}" id="pageNum" name="pageNum"/>
<input type="hidden" value="${response.total}" id="total"/>
<input type="hidden" value="${response.query.pageSize}" id="pageSize" name="pageSize"/>


<div class="M-box1">

</div>


<script>
    $('.M-box1').pagination({
        coping: true,
        activeCls: "active",
        current:${response.query.pageNum},
        totalData:${response.total},
        showData:${response.query.pageSize},
        homePage: '首页',
        endPage: '末页',
        prevContent: '上页',
        nextContent: '下页',
        jump: true,
        callback: function (obj) {
            $("#pageNum").val(obj.getCurrent());
            $("form:eq(1)").submit();
        }
    });
</script>